package postpic.app;

import org.json.JSONObject;

import postpic.app.io.ClientIO;
import postpic.domain.action.Action;
import postpic.domain.session.Request;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;



public class UserProfile extends Activity {
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
	    setContentView(R.layout.profile);
	    
	    JSONObject userInfo = new JSONObject();
	    userInfo.put("userId", null);
	    ClientIO.sendRequest(new Request(Action.GET_USER, userInfo));
	    TextView t=(TextView)findViewById(R.id.nameHeader);
	}

}